package com.click369.crm.service;

import java.util.HashMap;
import java.util.HashSet;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.click369.crm.pojo.CStaff;
import com.github.pagehelper.PageInfo;

public interface StaffService extends BaseService<CStaff> {

	PageInfo findPage(Integer page, Integer rows, CStaff staff);
	
	PageInfo<HashMap> selectAdmin(Integer page,Integer rows);

	CStaff getStaffByUsernameAndPassword(String username,String password);
	
	HashSet getRoleCodeByUsername(String username);
	
	HashSet getFunctionCodeByUsername(String username);

}
